Skip to content

Merge develop into ripple/smart-escrow #5614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 29, 2025

Conversation

mvadari
Copy link
Collaborator

@mvadari mvadari commented Jul 25, 2025

High Level Overview of Change

This PR updates ripple/smart-escrow to contain the latest on the develop branch.

Context of Change

Tests are failing due to complexities in the conan2 upgrade. This PR handles that (alongside other upgrades).

We also need to keep the branch updated.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

API Impact

N/A

Test Plan

CI passes

ckeshava and others added 6 commits July 23, 2025 17:53
…XRPLF#5579)

This change includes `network_id` data in the validations and ledger subscription stream responses, as well as unit tests to validate the response fields. Fixes XRPLF#4783
This change renames the `libxrpl` profile to `default` to make it more usable.
Before `XRPLF/ci` images, we did not have a `dependencies:` job for clang-16, so `instrumentation:` had to build its own dependencies. Now we have clang-16 Conan dependencies built in a separate job that can be used.
This change updates RocksDB to its latest version. RocksDB is backward-compatible, so even though this is a major version bump, databases created with previous versions will continue to function.

The external RocksDB folder is removed, as the latest version available via Conan Center no longer needs custom patches.
XRPLF#5224 added (among other things) a `VaultWithdraw` transaction that allows setting the recipient of the withdrawn funds in the `Destination` transaction field. This technically turns this transaction into a payment, and in some respect the implementation does follow payment rules, e.g. enforcement of `lsfRequireDestTag` or `lsfDepositAuth`, or that MPT transfer has destination `MPToken`. However for IOUs, it missed verification that the destination account has a trust line to the asset issuer. Since the default behavior of `accountSendIOU` is to create this trust line (if missing), this is what `VaultWithdraw` currently does. This is incorrect, since the `Destination` might not be interested in holding the asset in question; this basically enables spammy transfers. This change, therefore, removes automatic creation of a trust line to the `Destination` account in `VaultWithdraw`.
mvadari and others added 2 commits July 25, 2025 15:10
As we no longer support old compiler versions, we are bringing back some warnings by removing no longer relevant `-Wno-...` options.
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.7%. Comparing base (ece3a8d) to head (c8c241b).
⚠️ Report is 37 commits behind head on ripple/smart-escrow.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           ripple/smart-escrow   #5614   +/-   ##
===================================================
  Coverage                 78.7%   78.7%           
===================================================
  Files                      825     823    -2     
  Lines                    73098   73102    +4     
  Branches                  8548    8603   +55     
===================================================
+ Hits                     57553   57563   +10     
+ Misses                   15545   15539    -6     
Files with missing lines Coverage Δ
include/xrpl/basics/Log.h 71.4% <ø> (ø)
.../beast/container/detail/aged_unordered_container.h 96.5% <ø> (ø)
include/xrpl/protocol/detail/transactions.macro 100.0% <ø> (ø)
src/libxrpl/basics/FileUtilities.cpp 71.4% <100.0%> (ø)
src/libxrpl/protocol/PublicKey.cpp 92.1% <100.0%> (+0.1%) ⬆️
src/libxrpl/protocol/STTx.cpp 88.8% <100.0%> (-0.8%) ⬇️
src/libxrpl/protocol/tokens.cpp 93.9% <100.0%> (-0.3%) ⬇️
src/xrpld/app/main/Application.cpp 69.5% <ø> (-0.1%) ⬇️
src/xrpld/app/main/Main.cpp 79.0% <ø> (ø)
src/xrpld/app/misc/NetworkOPs.cpp 70.9% <100.0%> (-0.1%) ⬇️
... and 6 more

... and 116 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

oleks-rip and others added 4 commits July 28, 2025 12:29
As we no longer support old compiler versions, we are bringing back some warnings by removing no longer relevant `-Wno-...` options.
@mvadari mvadari mentioned this pull request Jul 29, 2025
1 task
@mvadari mvadari merged commit 2632477 into XRPLF:ripple/smart-escrow Jul 29, 2025
25 checks passed
@mvadari mvadari deleted the develop4.6 branch July 29, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants